/**
 *
 */
package com.wedroid.r2d2.message.parser;

import com.wedroid.entity.message.MessageType;
import com.wedroid.r2d2.message.RawMessage;

/**
 * @author lute
 */
public interface ContentParser {

    /**
     * @param messageType
     * @return
     */
    public boolean supportsMessageType(MessageType messageType);

    /**
     * @param rawMessage
     * @param escapedContent
     * @return
     */
    public String parse(RawMessage rawMessage, String escapedContent);

}
